formatted input and output statements in c